package com.dk.mapper;

import com.dk.entity.TGoods;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author author
 * @since 2021-11-01
 */
public interface TGoodsMapper extends BaseMapper<TGoods> {

    List<TGoods> findAllByGoods(@Param("startIndex") int startIndex,@Param("pageSize")int pageSize);

    Integer getTotalCount();
}
